package com.eastelsoft.smartiot.bssserver.dao;

import com.eastelsoft.smartiot.bssserver.domain.TCmOrderItem;
import java.util.List;

public interface TCmOrderItemMapper {
    int deleteByPrimaryKey(String orderItemId);

    int insert(TCmOrderItem record);

    TCmOrderItem selectByPrimaryKey(String orderItemId);

    List<TCmOrderItem> selectAll();
    List<TCmOrderItem> selectByOrderId(String orderId);

    int updateByPrimaryKey(TCmOrderItem record);


    TCmOrderItem selectBycusIdAndOrderStatus(String orderItemId, int orderStatus);
}